package com.jingshui.Service;

import com.alibaba.fastjson.JSONObject;
import orm.base.baseImp.BaseServiceInterface;

import javax.servlet.http.HttpSession;
import java.util.Map;

/**
 * Created by ashin on 2017/9/29.
 */
public interface OrderService extends BaseServiceInterface{

    public abstract JSONObject reserve(Map map, HttpSession session) throws Exception;

    /**
     * 查詢訂單列表信息
     * @param map
     * @param session
     * @return
     * @throws Exception
     */
    public abstract JSONObject queryOrderInfo(Map map, HttpSession session) throws Exception;

    /**
     * 管理员查询
     * @param map
     * @return
     * @throws Exception
     */
    public abstract JSONObject queryAdmin(Map map) throws Exception;

}
